package com.hshoesmall.demo.model.entity;
//实体，跟数据库的表一一对应

import lombok.Data;

import java.math.BigDecimal;

//@Data//用户Date注解来实现getter方法
public class Detail {

    private Integer sid;
    private String snum;//商品编号
    private String sname;//商品名称
    private BigDecimal sprices;//原价
    private BigDecimal sdiscount;//折扣价
    private Integer stimessold;//鞋子销量
    private BigDecimal sintegral;//单件鞋总积分
    private String simage;//鞋子图片url
    private Integer sizenum;//鞋码
    private Integer skuNum;
    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSnum() {
        return snum;
    }

    public void setSnum(String snum) {
        this.snum = snum;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public BigDecimal getSprices() {
        return sprices;
    }

    public void setSprices(BigDecimal sprices) {
        this.sprices = sprices;
    }

    public BigDecimal getSdiscount() {
        return sdiscount;
    }

    public void setSdiscount(BigDecimal sdiscount) {
        this.sdiscount = sdiscount;
    }

    public Integer getStimessold() {
        return stimessold;
    }

    public void setStimessold(Integer stimessold) {
        this.stimessold = stimessold;
    }

    public BigDecimal getSintegral() {
        return sintegral;
    }

    public void setSintegral(BigDecimal sintegral) {
        this.sintegral = sintegral;
    }

    public String getSimage() {
        return simage;
    }

    public void setSimage(String simage) {
        this.simage = simage;
    }

    public Integer getSizenum() {
        return sizenum;
    }

    public void setSizenum(Integer sizenum) {
        this.sizenum = sizenum;
    }

    public Integer getSkuNum() {
        return skuNum;
    }

    public void setSkuNum(Integer skuNum) {
        this.skuNum = skuNum;
    }
}
